package com.xxzx.journalism.model.vo.info;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

/**
 * 信息管理
 */
@Data
@NoArgsConstructor
@ToString
public class InfoVO implements Serializable {

    private static final long serialVersionUID = -1787586932944380195L;

    private Integer id;
    @NotEmpty
    private String title;
    @NotEmpty
    private String content;
    @NotEmpty
    private String type;

    private Date utime;
    private Date ctime;
}